<div id="main">
  <h2><%= t('h2.administrators') %></h2>
  <br class="clear"/>
  <table class="data2 order-table">
    <tr>
      <th>ID</th>
      <th>名字</th>
      <th width="15%">创建时间</th>
      <th width="12%"><%=  t('labels.operation') %></th>
    </tr>
    <% @administrators.each do |administrator| %>
      <tr class="<%= cycle("", "even") %>">
        <td><%= administrator.id %></td>
        <td><%= administrator.name %></td>
        <td><%= parse_date administrator.created_at %></td>
          <td>
            <%= link_to t('labels.edit'), edit_admin_administrator_path(administrator) %><br/>
            <%= link_to t('labels.delete'), admin_administrator_path(administrator), :confirm => "are your sure?", :method => :delete %><br/>
          </td>
      </tr>
    <% end %>
  </table>
</div>
